package com.itheima.user.mapper;

import com.itheima.entity.pojo.BlackList;
import com.itheima.entity.vo.BlackListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :wujunjie
 * createTime :2022-12-16 20:53
 * description :
 */
@Mapper
public interface BlackListMapper {

    Boolean insertBlackList(@Param("blackList") BlackList blackList);


    Boolean deleteBlackList(@Param("userId") String userId, @Param("blackId") String blackId);


    List<BlackListVo> selectPage(@Param("name") String name, @Param("start") Integer start, @Param("pageSize") Integer pageSize, @Param("userId") String userId);
}
